SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd2a7bd80a2f0e3321f0c80e68070d8a73fd399d95ce80d49e3eb20e767f7d1b' 
  AND token = '8R66XFs2ymt9iy6wFitIZPbFiEYhxHGr1jjKXsVZObM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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