SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1df3c760c465bdc918a04e949cb4214b300b1a085e0183450cf4201e7628ba83' 
  AND token = 'ca1scpmYXtG3tRX3Q+pn21rSOA3lWqPIHUx6vqngA/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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