SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0629a2d9e6db41edc1142ffe604fd05629ae8b9c2584fbf6b94bc97b3dc9be54' 
  AND token = 'cYSFekupBtp0Qj0MfxfxPm+orLPe4fvUbUmN4P7xb6s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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