SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8389ddad088daeda743fa5d94d2877219a23597d668fec484ee9a83cf7139d91' 
  AND token = 'yhPUGXjyB6TQQ3X/zMph8e3azX7s898KvQ6+qezlbnc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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