SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5a243df34b0c10771e143750837b951b3f4ae6d4fbd9e028d89f7c5d2b362ea' 
  AND token = '1r+2IaGhdaOH3KZBWPBcYqbMUgErMHmr6IcfG5SLwqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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