SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34697824a1406d351b709e1a4d9e5f03d95e0b99c0dd7a0e877b24edac4bd9a9' 
  AND token = 'UB+0+SNMUNyXZpYC7EuQz+tkpwTQvjS8cJUB55MnJvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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