SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '866d36cd73d76143cf83aaf9c02d68967b516a95e47512ec5539637aa1af1666' 
  AND token = 'hT7u8XdqA5oYcmxDgzXVRvn2j/mv/YV33458pbpqoRo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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