SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ecf5202ebe983aa73e497fa908875160c2517abe3c6c0bb31adf781399cd912' 
  AND token = 'mWRe6t18rGxFndqdWY1/1XPhC/kp1mSVMTxuU7nMdYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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