SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '348ed9bbca81138bfb01bcd2cfbe1f3afe1f80efbd36b61a8bbb70dd373dedd1' 
  AND token = 'UE6m24Bi8VV7VkfJRC4u0cXlQnkLbCgvTFqwa9ru9+s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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