SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '142c015ac9c0bcf750eab125d88e8daec5b8348da00d81971fa9098303c5a7e5' 
  AND token = 'mtuJBgDjQ6QeeE0UNnZ/6WFL9kbU8L7/rpdo1Ojdd+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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