SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac016932df6f171dd8e372cc4754780d9746af27a38459e3b19e23c94cea13db' 
  AND token = 'degBApvOAp7+/IMpdht0x37ZRDEMOqA8htT/YRBDzYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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