SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e145cf2c19084069c4a5edc6b907f4bfa7339cd2118c614432df56d0c751f63c' 
  AND token = 'RBaNextk0pf7LihK17Ns699qvKr5cgcovWrU5NPGSFo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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