SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6097ca67fd268d73bf0502b237aac9f919d91ee33847bc62591a061fb066e03e' 
  AND token = 'bZ5QxFPhbewDxDmIQdmlXNMA7UaG7mwiytu5x7191Po=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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