SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '190aed352b48884bdad711d8251e8c37832e86feb35ff20e112b03c2052d811b' 
  AND token = 'rNMXorB935qoLMP5aX3FuHbUSnOP6/xq0CjFeR1iqKo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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