SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4871a8d029bea6dcd5aad5cc658e729943af3b729a571031c3100bc5cc53125b' 
  AND token = 'azr2+BpaCPH0P+uGJuhCLTPWEJHtecSNed8irZSmcj4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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