SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b31c295b67af9a13cda09e126063dbef9f245eb1b749d219904f92d62bd320d5' 
  AND token = '03ooxn/CvvsC8QBm23piBy0y6JJVkkT36LA6k4YavuY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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