SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e1212fe5599259588909af8acccc997029c40c1293e62d3f045d105801a50a52' 
  AND token = 'dl7L7RtSVBD0iZKTF0SpLdv4GsOkwV9P+aXOsEWYLog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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