SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9055ed871458de763d59d0ddf3788af11a54ffc4309a6eebd96053222d14eea' 
  AND token = 'ZjG32Rj/qgztzZrw8w5wn4yTVK9sgTPIvL2l125F/ts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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