SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9bcf343aac25693f4e2171457ba28afd8cd1f142384d55b6738d3ee0051d1186' 
  AND token = 'TzIdMfSKIFq069e1HCsV2FD6BTSJzBmad1FRSHceOeg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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