SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2d5d9fed1e0bd6360590e4bf8b83ee21edb7c6c44a750f05e9b715614792f3a' 
  AND token = '8nRDmYAw6IZDXm3gbn4MvRXPgViNVCSpsWjJ313f+4k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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