SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf817743e3eec3e59df3bec68132a004fc0ac75caf74a032c9b5bef8e9521b5c' 
  AND token = 'yidS0nE17coK7p54w2MIUfMIzt3Di61mpDxjXNqmuaQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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