SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f9239a1884da26f788b769e45c16881909bec4504374725d35734a3a2b89e7f' 
  AND token = '4r5YkIZeE3gBo/E0FcDs/e7Kiq2/OIbf/G2KyrP3DtE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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