SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd0a6bd4de86b85f66b076bef883a9f67c4898a6664546eb50916cc09fad99e8' 
  AND token = 'O/KcQrdDRsou49iwy4ZIBEy0Wr2J079QRA/OOr8ip5s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}