SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b45254fd1c496c41f2654f4f73768d4f78ca218435d9435c096832c05b83ef78' 
  AND token = 'q/cZP3ljfDMozCToe89hiCVijTx9fEOGYKtQ2CxQTcc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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