SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59b28c6f5793c6137a90beb91cf01c6cd29bd7a06c8fc0c87babbdb367b45223' 
  AND token = 'xbWx9NhwZGw5FcPt51pLJ1gFy8nvGOVFQ2fx4bY0Q34=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}