SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9b1e82b32bc6173b7e6216c5509ea8c29309094f94b9d061df91966a713fb669' 
  AND token = 'LYv9WZd9tUVma3BObmntSAf4YdAKhuLOle3ufsO3K2s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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